home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 112
/
EnigmaAmiga112CD.iso
/
dalla rivista
/
awnpipe
/
awnp
/
awnp-docs
/
menu.doc
< prev
next >
Wrap
Text File
|
2000-05-17
|
2KB
|
57 lines
Menu gadget event
-------------------------
'menu menu_number item_number sub_item_number checked'
checked=0 Item is not checked
checked=1 Item is checked
Menu gadget parameters.
-------------------------
gadgettext="menudata" (gt=)
This text defines a menu for the CA window. The data is the following format.
menu_title|menu_item0|menu_item1 ...
Each menu_item is the following format
[@hotkey][$][-][^][%][&][!][`][#HEX_number#]menu_item_title
@ = hotkey for menu, following character is hotkey.
$ = sub Item (of previous menu_item)
- = Display a separator bar (ignore text and other options for this item )
^ = menu toggle
% = menu checkable (unchecked at startup)
& = menu checkable (checked at startup)
! = highlight none
` = disabled
# = mutual exclude. Note the trailing '#' MUST be used.
If multiple flags are set they MUST be in the order shown.
Note: '`' is the only flag that may be set for the menu title.
Note: Separator bars are considered a menu item. Example
gt="dothis|-|dothat"
dothis is item 0, the bar is item 1, dothat is item 2.
replace=GID
Use this menu to replace an existing menu specified by GID.
Menu gadget modify parameters.
-------------------------
disable=number (dis=)
The menu or menu item is enabled if number = 0 , disabled if number != 0.
selected=number (s=)
The menu item is checked if number != 0 , unchecked if number = 0. Ignored if a target is not specified.
target=number (tar=)
If a target is specified you are modifying a menu item. If a target is not specified you are modifying the menu itself.